package com.crazy.base.common.utils.id;

import com.crazy.base.common.utils.servicelocate.ServiceLocator;

public interface UidGenerator {

    long nextId();

    static long generateId() {
    	return ServiceLocator.service(UidGenerator.class).nextId();
    }
}
